<template>
    <div>
        我是vuex页
        <div>
            vuex State中的值{{$store.state.num}}
        </div>
    </div>
</template>

<script>
    export default {
        name: "vuex",
        created() {
            console.log(this.$store.state.num)
        }
    }
</script>

<style scoped>

</style>